class Section < ActiveRecord::Base
  has_many :boards, :dependent => :destroy
  
  validates_presence_of :title
  validates_length_of :title, :minimum => 1
  
  def to_s
    title
  end
end
